package com.soulless.pattern3;

/**
 * python课程工厂
 *
 * @author zenglei
 * @date 2022/11/16 11:28
 */
public class PythonCourseFactory extends AbstractCourseFactory {
    protected INote createNote() {
        super.init();
        return new PythonNote();
    }

    protected IVideo createVideo() {
        super.init();
        return new PythonVideo();
    }

    protected ICourse createCourse() {
        super.init();
        return new PythonCourse();
    }
}
